Metabolomics analysis of patient samples